package com.wlyuan.open.scanner.domain.tenant;

import org.mapstruct.Mapping;

import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;

/**
 * @author lijing
 * @description
 */
@Retention(RetentionPolicy.CLASS)
@Mapping(target = "code", source = "companyClientcode")
@Mapping(target = "alias", source = "companyDomainname")
@Mapping(target = "contactName", source = "companyContact")
@Mapping(target = "contactMobile", source = "companyPhone")
@Mapping(target = "contactEmail", source = "companyMail")
@Mapping(target = "source", source = "companySource")
@Mapping(target = "remarks", source = "companyComments")
@Mapping(target = "rejectReason", source = "companyRefusalreason")
@Mapping(target = "inviterName", source = "inviterName")
@Mapping(target = "inviterMobile", source = "inviterMobile")
@Mapping(target = "inviterUserId", source = "inviterUserId")
@Mapping(target = "inviterTenantId", source = "inviterTenantId")
@Mapping(target = "name", source = "companyName")
@Mapping(target = "tenantId", source = "companyId")
@Mapping(target = "sourceKey", source = "companyId")
@Mapping(target = "id", source = "companyId")
@Mapping(target = "createTime", source = "companyInserttime")
@Mapping(target = "updateTime", source = "companyUpdatetime")
@Mapping(target = "personal", source = "companyPersonal")
@Mapping(target = "createBy", source = "companyCreatorid")
@Mapping(target = "updateBy", source = "companyUpdater")
public @interface MappingCreation {

}
